#include <glib.h>
struct connect_obj {
	char *daemon;
	void *request;
};

struct ipc_obj {
	char *func;
	char *in;
	char *out;
	GVariant* (*callback)(GVariant*);
};
void ipc_init(char *name);
void ipc_add(char *func, GVariant *callback(GVariant *par), char *in, char *out);
GVariant *ipc_call(char *daemon, char *func, GVariant *par);
